public class Fish extends Animal2 implements ISwimming{
    public Fish(String name) {
        super(name);
    }

@Override
    public void swimming(){
    System.out.println(this.name+"鱼儿在游泳");
}
}
